package com.app.car.basis;

import android.os.Environment;

public class Constants {


	/**
	 * 扫描跳转Activity RequestCode
	 */
	public static final int ToBind = 85;
	public static final int ToAddTeaMan= 86;

	public static final String OFFLINE= "离线";
	public static final String ONLINE= "在线";

	public static String USBPATH= "";

	/**读码结果发送的广播action*/
	public final static String ACTION_UHF_RESULT_SEND = "nlscan.intent.action.uhf.ACTION_RESULT";
	/**读码结果发送的广播Extra*/
	public final static String EXTRA_TAG_INFO = "tag_info";


//	 public static final boolean DEBUG = false;
	public static final boolean DEBUG = true;

	// 正式服务器
	public static final String URL_SERVICE ="";



	public static String URL_API = "/";
	public static String URL_API_LOGIN = URL_API;



	//用户管理-登录
	public static String URL_LOGIN = URL_API_LOGIN+"users/login";


	//根据aid,dna查询所有字典内容
	public static String URL_DSUB_SELECT_ALL = URL_API_LOGIN+"dsub/selectAll";













    //登录-登录
    public static String URL_USER_REFRESH_TOKEN = URL_API+"user/open/refreshToken";
	//登录-短信验证码
	public static String URL_LOGIN_MSGCODE = URL_API+"user/open/api/v1/captcha/add";
	//用户-修改密码
	public static String URL_USER_MODIFY_PWD= URL_API+"user/api/v1/user/changePwd";
	//用户-更新密码-找回密码
	public static String URL_USER_FIND_PWD = URL_API+"user/api/v1/user/updatePassWord";


	//国家地区
	public static String URL_COUNTRY= URL_API+"System/country.json";


	//视频-获取视频点树结构
	public static String URL_VIDEO_GET_CATALOG=  URL_API+"ff-video/isc/getDeviceTree";
	//视频-获取视频播放流地址
	public static String URL_VIDEO_GET_PLAY_URL =  URL_API+"ff-video/isc/findPlayUrl";

	public static String FILE_PREFIX = "file://";
	public static String DRAWABLE_PREFIX = "drawable://";
	public static int PAGE_SIZE = 10;

	public static final String TEL = "";

	public static final long TIME_DELAY = 500;


	public static final int COLLECT_IMG_MAX = 6;

	/**
	 * 程序目录
	 */
	public static final String DIR = Environment.getExternalStorageDirectory()
			+ "/rfidcar/";
	public static final String DIR_IN = BasisApp.getInstance().getFilesDir().getPath()
			+ "/";

	public static final String DIR_DOWNLOAD = DIR + "download/";
	public static final String DIR_TEMP = DIR + "temp/";
	public static final String DIR_LOG = DIR + "log/";
	public static final String DIR_FILE = DIR + "file_/";
	public static final String DIR_FILECACHE = DIR + "file/";
	public static final String DIR_CAMERA = DIR + "camera/";
	public static final String DIR_EXCEL = DIR + "excel/";

	public static final int MAX_ZOOM_VISIABLE_LEVEL = 13;

}
